package com.lzh.runke.core.web_base.enums;

/**
 * @Description: 环境
 * @Author: LiuZiHao
 * @Date: 2022/5/24 17:35
 */
public enum ProfileEnum implements BaseEnum<String> {
    DEVELOPMENT("dev", "开发模式"),
    TEST("test", "测试环境"),
    QA("qa", "QA环境"),
    PRODUCTION("prod", "生产环境");

    private final String value;

    private final String text;

    ProfileEnum(String value, String text) {
        this.value = value;
        this.text = text;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public String getName() {
        return this.name();
    }
}
